from django.urls import path, re_path
from .views import Index, Login, LogoutUser, Shell, GetCsrfToken

urlpatterns = [
    # path('', Register.as_view(),name='register'),
    path('', Index.as_view(), name='neuron'),
    re_path('^home$', Index.as_view(), name='home'),
    re_path('^login$', Login.as_view(), name='login'),
    re_path('^get_token$', GetCsrfToken.as_view(), name='get_token'),
    re_path('^index$', Index.as_view(), name='index'),
    re_path('^logout$', LogoutUser.as_view(), name='logout'),
    # path('shell/<str:id>/', Shell.as_view(),name='shell'),
    re_path('^shell$', Shell.as_view(),name='shell'),

    path('home/', Index.as_view()),
    path('login/', Login.as_view()),
    path('get_token/', GetCsrfToken.as_view()),
    path('index/', Index.as_view()),
    path('logout/', LogoutUser.as_view()),
    path('shell/', Shell.as_view()),
]
